package com.example.userlogincenter.userCenter.common.unifyDataForm;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResultVo {

    SUCCESS(20000,"请求成功！"),
    ERROR_IDNOTEXIST(400,"用户ID不存在，请前往注册页面进行注册！"),
    ERROR_PASSWORD(880,"用户密码错误"),
    ERROR_VCODE(881,"验证码错误，请重新输入"),
    ERROR_UNKOWN(505,"未知原因错误");

    private final Integer code;

    private final String message;

    public Integer code(){
        return this.code;
    }

    public String message(){
        return this.message;
    }


}
